package com.beimin.evedata.model.inv;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Entity(mutable = false)
@Table(name = "invGroups")
public class InvGroup {
	@Id
	private int groupID;
	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "categoryID")
	private InvCategory category;
	private String groupName;
	private String description;
	private Integer graphicID;
	private boolean useBasePrice;
	private boolean allowManufacture;
	private boolean allowRecycler;
	private boolean anchored;
	private boolean anchorable;
	private boolean fittableNonSingleton;
	private boolean published;

	public int getGroupID() {
		return groupID;
	}

	public void setGroupID(int groupID) {
		this.groupID = groupID;
	}

	public InvCategory getCategory() {
		return category;
	}

	public void setCategory(InvCategory category) {
		this.category = category;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getGraphicID() {
		return graphicID;
	}

	public void setGraphicID(Integer graphicID) {
		this.graphicID = graphicID;
	}

	public boolean isUseBasePrice() {
		return useBasePrice;
	}

	public void setUseBasePrice(boolean useBasePrice) {
		this.useBasePrice = useBasePrice;
	}

	public boolean isAllowManufacture() {
		return allowManufacture;
	}

	public void setAllowManufacture(boolean allowManufacture) {
		this.allowManufacture = allowManufacture;
	}

	public boolean isAllowRecycler() {
		return allowRecycler;
	}

	public void setAllowRecycler(boolean allowRecycler) {
		this.allowRecycler = allowRecycler;
	}

	public boolean isAnchored() {
		return anchored;
	}

	public void setAnchored(boolean anchored) {
		this.anchored = anchored;
	}

	public boolean isAnchorable() {
		return anchorable;
	}

	public void setAnchorable(boolean anchorable) {
		this.anchorable = anchorable;
	}

	public boolean isFittableNonSingleton() {
		return fittableNonSingleton;
	}

	public void setFittableNonSingleton(boolean fittableNonSingleton) {
		this.fittableNonSingleton = fittableNonSingleton;
	}

	public boolean isPublished() {
		return published;
	}

	public void setPublished(boolean published) {
		this.published = published;
	}
}